Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add admin.dbGet API #2667

Merged
merged 1 commit into from
Jan 25, 2024
Merged

Add admin.dbGet API #2667

merged 1 commit into from
Jan 25, 2024

Conversation

StephenButtolph
Copy link
Contributor

Why this should be merged

This introduces an API that allows fetching arbitrary key-value pairs from a node's database. This can be extremely useful if the node's database is not available - but a client desires to know the exact node database state.

How this works

Provides the root database to the admin API and exposes common database prefixes for easier usage.

How this was tested

  • CI
  • running the implemented example.

@StephenButtolph StephenButtolph added this to the v1.10.19 milestone Jan 25, 2024
@StephenButtolph StephenButtolph self-assigned this Jan 25, 2024
vms/platformvm/state/state.go Show resolved Hide resolved
@StephenButtolph StephenButtolph added this pull request to the merge queue Jan 25, 2024
Merged via the queue into master with commit e991d24 Jan 25, 2024
17 checks passed
@StephenButtolph StephenButtolph deleted the add-admin-db-get branch January 25, 2024 18:09
chand1012 pushed a commit to multisig-labs/avalanchego that referenced this pull request Oct 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants